@charset "UTF-8";
/*markdown 样式*/
#editor_preview_preview {
  overflow: auto;
  scrollBar();
}
#editor_preview_markdown_editor {
  overflow: auto;
}

.markdown.content {
  font-size: 14px;
  line-height: 23px;
  overflow: hidden;
  word-wrap: break-word;
  color: #333;
  background: white;
  padding: 20px;
  .three_wrapper img.emotion.monkey {
    width: 31%;
    margin: 1%;
  }
  .two_wrapper img.emotion.monkey {
    width: 46%;
    margin: 2%;
  }
  > *:first-child {
    margin-top: 0 !important
  }
  > *:last-child {
    margin-bottom: 0 !important
  }
  a.absent {
    color: #c00
  }
  a.anchor {
    display: block;
    padding-right: 6px;
    padding-left: 30px;
    margin-left: -30px;
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0
  }
  a.anchor:focus {
    outline: none
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    margin: 1em 0 15px;
    padding: 0;
    cursor: text;
    position: relative;
    font-weight: 700;
    line-height: 2;
  }
  h1 .octicon-link,
  h2 .octicon-link,
  h3 .octicon-link,
  h4 .octicon-link,
  h5 .octicon-link,
  h6 .octicon-link {
    display: none;
    color: #000
  }
  h1:hover a.anchor,
  h2:hover a.anchor,
  h3:hover a.anchor,
  h4:hover a.anchor,
  h5:hover a.anchor,
  h6:hover a.anchor {
    text-decoration: none;
    line-height: 1;
    padding-left: 8px;
    margin-left: -30px;
    top: 15%
  }
  h1:hover a.anchor .octicon-link,
  h2:hover a.anchor .octicon-link,
  h3:hover a.anchor .octicon-link,
  h4:hover a.anchor .octicon-link,
  h5:hover a.anchor .octicon-link,
  h6:hover a.anchor .octicon-link {
    display: inline-block
  }
  h1 tt,
  h1 code,
  h2 tt,
  h2 code,
  h3 tt,
  h3 code,
  h4 tt,
  h4 code,
  h5 tt,
  h5 code,
  h6 tt,
  h6 code {
    font-size: inherit
  }
  h1 {
    font-size: 28px;
    color: #000;
    font-weight: 400;
    border-bottom: 1px solid #ddd
  }
  &.bubble h1,
  &.bubble h2 {
    border: none !important;
  }
  h2 {
    font-size: 24px;
    border-bottom: 1px solid #ddd;
    color: #000;
    font-weight: 400;
  }
  h3 {
    font-size: 20px;
  }
  h4 {
    font-size: 16px;
  }
  h5 {
    font-size: 14px;
    color: #666;
  }
  h6 {
    font-size: 14px;
  }
  p,
  blockquote,
  ul,
  ol,
  dl,
  table,
  pre {
    margin: 15px 0
  }
  hr {
    border: none;
    border-top: 1px dashed #ddd;
    height: 1px;
    padding: 0;
    margin: 30px 0;
  }
  ul,
  ol {
    padding-left: 30px
  }
  ol {
    list-style-type: decimal;
  }
  ul {
    list-style-type: disc;
  }
  ul.no-list,
  ol.no-list {
    list-style-type: none;
    padding: 0
  }
  ul ul,
  ul ol,
  ol ol,
  ol ul {
    margin-top: 0;
    margin-bottom: 0
  }
  dl {
    padding: 0
  }
  dl dt {
    font-size: 14px;
    font-weight: bold;
    font-style: italic;
    padding: 0;
    margin-top: 15px
  }
  dl dd {
    margin-bottom: 15px;
    padding: 0 15px
  }
  blockquote {
    border-left: 4px solid #DDD;
    padding: 10px 15px;
    color: #666;
    background: rgba(0, 0, 0, .03);
  }
  blockquote >:first-child {
    margin-top: 0px
  }
  blockquote >:last-child {
    margin-bottom: 0px
  }
  .markdown-table {
    width: 100%;
    overflow: auto;
    margin: 15px 0!important;
    table {
      margin: 0;
    }
  }
  table {
    width: 100%;
    overflow: auto;
    border-collapse: collapse;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
  }
  table th {
    font-weight: bold;
    background: #eee;
  }
  table th,
  table td {
    border: 1px solid #ddd;
    padding: 6px 13px
  }
  table tr {
    border-top: 1px solid #ccc;
    background-color: #fff
  }
  table tr:nth-child(2n) {
    background-color: #f6f6f6
  }
  img {
    max-width: 100%;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: #fff;
    //padding: 8px;
    border: 1px solid #eee;
    border-radius: 3px;
    vertical-align: bottom;
  }
  img.emotion {
    padding: 0;
    border-radius: 0;
    border: none;
    background: none;
  }
  span.frame {
    display: block;
    overflow: hidden
  }
  span.frame > span {
    border: 1px solid #ddd;
    display: block;
    float: left;
    overflow: hidden;
    margin: 13px 0 0;
    padding: 7px;
    width: auto
  }
  span.frame span img {
    display: block;
    float: left
  }
  span.frame span span {
    clear: both;
    color: #333;
    display: block;
    padding: 5px 0 0
  }
  span.align-center {
    display: block;
    overflow: hidden;
    clear: both
  }
  span.align-center > span {
    display: block;
    overflow: hidden;
    margin: 13px auto 0;
    text-align: center
  }
  span.align-center span img {
    margin: 0 auto;
    text-align: center
  }
  span.align-right {
    display: block;
    overflow: hidden;
    clear: both
  }
  span.align-right > span {
    display: block;
    overflow: hidden;
    margin: 13px 0 0;
    text-align: right
  }
  span.align-right span img {
    margin: 0;
    text-align: right
  }
  span.float-left {
    display: block;
    margin-right: 13px;
    overflow: hidden;
    float: left
  }
  span.float-left span {
    margin: 13px 0 0
  }
  span.float-right {
    display: block;
    margin-left: 13px;
    overflow: hidden;
    float: right
  }
  span.float-right > span {
    display: block;
    overflow: hidden;
    margin: 13px auto 0;
    text-align: right
  }
  code,
  tt {
    margin: 0;
    //border: 1px solid #ddd;
    background-color: #f8f8f8;
    border-radius: 3px;
    max-width: 100%;
    display: inline-block;
    overflow: auto;
    vertical-align: middle;
    padding: 0
  }
  code:before,
  code:after,
  tt:before,
  tt:after {
    content: "\00a0";
    letter-spacing: -0.2em
  }
  del code {
    text-decoration: inherit;
    vertical-align: text-top
  }
  code {
    white-space: nowrap
  }
  pre > code {
    margin: 0;
    padding: 0;
    white-space: pre;
    border: none;
    background: transparent;
    font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace!important;
  }
  .highlight pre,
  pre {
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    font-size: 13px;
    line-height: 19px;
    overflow: auto;
    padding: 6px 10px;
    border-radius: 3px
  }
  pre {
    word-wrap: normal
  }
  pre code,
  pre tt {
    margin: 0;
    padding: 0;
    background-color: transparent;
    border: none;
    word-wrap: normal;
    max-width: initial;
    display: inline;
    overflow: initial;
    line-height: inherit
  }
  pre code:before,
  pre code:after,
  pre tt:before,
  pre tt:after {
    content: normal
  }
}

.markdown-toc {
  margin: 1em !important;
  margin-top: 0;
}

.markdown-toc ul {
  list-style-type: none;
  margin: 0;
  padding: 0 !important;
  line-height: 1.5em;
}

.markdown-toc > ul ul {
  padding-left: 20px !important;
}
